/*
gyro.h
offer gyro.h headfile ,api to outside
designed by linxiantao

-------------------------------
2020-05-26 10:44:00
create file
-------------------------------
*/

#ifndef __GYRO_H
#define __GYRO_H

#include "bsp.h"

#ifdef __cplusplus
extern "C" {
#endif

float get_gyro_angle_rate();
float get_gyro_angle();
int16_t get_gyro_status();
void xp_gyro_reset();
int32_t xp_gyro_init();
int xp_gyro_debug(char *type,char *fun,char *param);
extern float g_angle_zero_offset;
#ifdef __cplusplus
}
#endif


#endif

